
public class Compte {

	private String nom;
	private String password;
	private double solde;
	
	public String getNom() {
		return nom;
	}

	public void setNom(String nom) {
		this.nom = nom;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public double getSolde() {
		return solde;
	}

	public void setSolde(double solde) {
		this.solde = solde;
	}

	public Compte(String nomProprietaire, String motDePasse) {
		this.nom = nom;
		this.password = password;
		this.solde = 0;
	}
	
}
